package com.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


@SpringBootApplication
@EnableDiscoveryClient // 启用eureka客户端，是spring cloud 提供的注解    @EnableEurekaClient 是由netflix提供的

public class UserApplicationServer {

	public static void main(String[] args) {
		SpringApplication.run(UserApplicationServer.class, args);
	}

}
